package com.example.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OrdersVo {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long orderId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;

    private Integer userId;

    private Integer roomId;

    private String roomName;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime paymentDeadline;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime actualPaymentTime;

    private Integer status;

    private Double totalPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime endTime;

    private String duration;

    private String userName;


    private Integer id;


    private String time;

    private String useTime;

    private Integer reserveStatus;

    private Integer useStatus;



    private Integer payStatus;


}
